for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
'use strict'
export class DeviseError extends Error {
constructor (message) {
super(message)
this.name = 'DeviseError'
this.stack = new Error().stack
// Set the prototype explicitly.
Object.setPrototypeOf(this, DeviseError.prototype)
}